//
//  TTCertificateQueryViewCell.m
//  TaoTuo
//
//  Created by admin on 2019/12/23.
//  Copyright © 2019 admin. All rights reserved.
//

#import "TTCertificateQueryViewCell.h"
#import "TTCertificateQueryResultViewController.h"

@interface TTCertificateQueryViewCell ()
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UILabel *leftLabel;
@property (weak, nonatomic) IBOutlet UILabel *rightLabel;

@end

@implementation TTCertificateQueryViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.bgView.layer.cornerRadius = 5;
    
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    
}

- (void)setModel:(TTCertQueryModel *)model
{
    _model = model;
    
    self.leftLabel.text = model.leftText;
    self.rightLabel.text = model.rightText;
    
    self.bgView.hidden = model.isHidden;
    
}


@end
